package com.lightjet.macross.base.log.service.impl;

import com.lightjet.macross.base.log.domain.LogIndex;
import com.lightjet.macross.base.log.repository.LogIndexRepository;
import com.lightjet.macross.base.log.service.LogIndexService;
import com.lightjet.macross.common.core.BaseServiceImpl;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

import java.util.Date;

@Service("logIndexServiceImpl")
public class LogIndexServiceImpl extends BaseServiceImpl<LogIndex,Integer> implements LogIndexService {
    @Override
    public Page<LogIndex> FindByFilters(String caption, String servicename, String apirui, String clientid, byte loglevel, byte result, Date sdate, Date edate, Pageable pageable) {
        return ((LogIndexRepository)baseRepository).findByFilters(caption,servicename,apirui,clientid,loglevel,result,sdate,edate,pageable);
    }
}
